package com.ruoyi.slope.disposal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 处置记录对象 slope_warning_disposal
 * 
 * @author ruoyi
 * @date 2025-06-08
 */
public class SlopeWarningDisposal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 边坡名称 */
    @Excel(name = "边坡名称")
    private String slopeName;

    /** 测点编号 */
    @Excel(name = "测点编号")
    private String pointerNumber;

    /** 预警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warningTime;

    /** 预警等级 */
    @Excel(name = "预警等级")
    private String warningLevel;

    /** 预警信息 */
    @Excel(name = "预警信息")
    private String warningInfo;

    /** 处置单位 */
    @Excel(name = "处置单位")
    private String deptId;

    /** 处置人员 */
    @Excel(name = "处置人员")
    private String userId;

    /** 处置开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处置开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disposalStartTime;

    /** 到达现场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到达现场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arrivalTime;

    /** 处置措施 */
    @Excel(name = "处置措施")
    private String disposalMeasures;

    /** 是否疏散人员（0=否，1=是） */
    @Excel(name = "是否疏散人员", readConverterExp = "0==否，1=是")
    private Integer evacuated;

    /** 疏散人数 */
    @Excel(name = "疏散人数")
    private Long evacuatedNumber;

    /** 处置结果 */
    @Excel(name = "处置结果")
    private String disposalResult;

    /** 结果评估 */
    @Excel(name = "结果评估")
    private String evaluationLevel;

    /** 是否恢复通行（0=否，1=是） */
    @Excel(name = "是否恢复通行", readConverterExp = "0==否，1=是")
    private Integer resumed;

    /** 恢复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "恢复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resumeTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSlopeName(String slopeName) 
    {
        this.slopeName = slopeName;
    }

    public String getSlopeName() 
    {
        return slopeName;
    }

    public void setPointerNumber(String pointerNumber) 
    {
        this.pointerNumber = pointerNumber;
    }

    public String getPointerNumber() 
    {
        return pointerNumber;
    }

    public void setWarningTime(Date warningTime) 
    {
        this.warningTime = warningTime;
    }

    public Date getWarningTime() 
    {
        return warningTime;
    }

    public void setWarningLevel(String warningLevel) 
    {
        this.warningLevel = warningLevel;
    }

    public String getWarningLevel() 
    {
        return warningLevel;
    }

    public void setWarningInfo(String warningInfo) 
    {
        this.warningInfo = warningInfo;
    }

    public String getWarningInfo() 
    {
        return warningInfo;
    }

    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setDisposalStartTime(Date disposalStartTime) 
    {
        this.disposalStartTime = disposalStartTime;
    }

    public Date getDisposalStartTime() 
    {
        return disposalStartTime;
    }

    public void setArrivalTime(Date arrivalTime) 
    {
        this.arrivalTime = arrivalTime;
    }

    public Date getArrivalTime() 
    {
        return arrivalTime;
    }

    public void setDisposalMeasures(String disposalMeasures) 
    {
        this.disposalMeasures = disposalMeasures;
    }

    public String getDisposalMeasures() 
    {
        return disposalMeasures;
    }

    public void setEvacuated(Integer evacuated) 
    {
        this.evacuated = evacuated;
    }

    public Integer getEvacuated() 
    {
        return evacuated;
    }

    public void setEvacuatedNumber(Long evacuatedNumber) 
    {
        this.evacuatedNumber = evacuatedNumber;
    }

    public Long getEvacuatedNumber() 
    {
        return evacuatedNumber;
    }

    public void setDisposalResult(String disposalResult) 
    {
        this.disposalResult = disposalResult;
    }

    public String getDisposalResult() 
    {
        return disposalResult;
    }

    public void setEvaluationLevel(String evaluationLevel) 
    {
        this.evaluationLevel = evaluationLevel;
    }

    public String getEvaluationLevel() 
    {
        return evaluationLevel;
    }

    public void setResumed(Integer resumed) 
    {
        this.resumed = resumed;
    }

    public Integer getResumed() 
    {
        return resumed;
    }

    public void setResumeTime(Date resumeTime) 
    {
        this.resumeTime = resumeTime;
    }

    public Date getResumeTime() 
    {
        return resumeTime;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("slopeName", getSlopeName())
            .append("pointerNumber", getPointerNumber())
            .append("warningTime", getWarningTime())
            .append("warningLevel", getWarningLevel())
            .append("warningInfo", getWarningInfo())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("disposalStartTime", getDisposalStartTime())
            .append("arrivalTime", getArrivalTime())
            .append("disposalMeasures", getDisposalMeasures())
            .append("evacuated", getEvacuated())
            .append("evacuatedNumber", getEvacuatedNumber())
            .append("disposalResult", getDisposalResult())
            .append("evaluationLevel", getEvaluationLevel())
            .append("resumed", getResumed())
            .append("resumeTime", getResumeTime())
            .append("remarks", getRemarks())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
